<?php
require_once ("init.php");

$act = $_REQUEST['act'];


if($act=='make_home'){
	
	if(submitcheck(makesubmit)){
		
		//$childpages=array('basic','genall','onlyuri','list','thread');
		$gentplfile = 'index';
		$htmlfile = 'index.html';
		$ext= 'html';		
		
		include S_ROOT.'include/makehtml.php';
		
		showmessage('do_success', $_SERVER['HTTP_REFERER'], 2);
		
	} else {
		include template('make.home');
	}
}

?>